package com.study.d020language;

import java.net.URL;
import java.util.ResourceBundle;

import javafx.fxml.Initializable;

/**
*@description
*@author xtayhame
*date 2020年3月17日
*version
*since v1.0
*/
public class LanguageControl implements Initializable{

	/**
	 * 这里接收的location和 resource就是我们之前设置的fxml文件和语言国际化文件
	 */
	@Override
	public void initialize(URL location, ResourceBundle resources) {
		//LanguageControl-location:/E:/javafxworkspace/javafx_study/bin/com%5cstudy%5cd020language%5clanguage.fxml
		System.out.println("LanguageControl-location:" + location.getPath());

		//LanguageControl-resources:com/study/d020language/language
		System.out.println("LanguageControl-resources:" + resources.getBaseBundleName());
	}

}
